package com.letfox.ad.service.relation.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.relation.ADPlanSettingDao;
import com.letfox.ad.model.relation.ADPlanSetting;
import com.letfox.ad.service.relation.ADPlanSettingService;

@Service
public class ADPlanSettingServiceImpl implements ADPlanSettingService {
	
	@Autowired
	private ADPlanSettingDao adPlanRlSettingDao;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return adPlanRlSettingDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADPlanSetting record) {
		return adPlanRlSettingDao.insert(record);
	}

	@Override
	public ADPlanSetting selectByPrimaryKey(Long id) {
		return adPlanRlSettingDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(ADPlanSetting record) {
		return adPlanRlSettingDao.updateByPrimaryKey(record);
	}

}
